<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="app" uri="http://www.wanrenhui.com"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@include file="/res/include/base-head.jsp"%>
<%@include file="/res/include/jquery-easyui.jsp"%>
<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/hi/hiRule.js"></script>
</head>
<body>
<form id="data-form">
	<div class="form_item">
		<dl>
			<dt>分类：</dt>
			<dd>
				<select name="classify" id="classify">
				<c:forEach items="${classifyList}" var="item">
					<option value="${item.code}">${item.desc}</option>
				</c:forEach>
				</select>
			</dd>
		</dl>
		<dl>
			<dt>条件：</dt>
			<dd>
				<select name="compare" id="compare">
					<option value="1">大于</option>
					<option value="2">等于</option>
					<option value="3">小于</option>
				</select>
			</dd>
		</dl>
		<dl>
			<dt>条件值：</dt>
			<dd>
				<input  type="text" id="compareValue" name="compareValue"/>
			</dd>
		</dl>
		<dl>
			<dt>规则名称：</dt>
			<dd>
				<input  type="text" id="name" name="name"/>
			</dd>
		</dl>
		<dl>
			<dt>规则名称：</dt>
			<dd>
				<textarea maxlength="8000" class="txt grid-75" id="desc" name="desc" oninput="admin.hiRule.netMsgChange('desc',360)" onpropertychange="admin.hiRule.netMsgChange('desc',360)" rows="4" ></textarea>
			</dd>
		</dl>
		<dl>
			<dt>奖励圈币值：</dt>
			<dd>
				<input  type="text" id="quanValue" name="quanValue"/>
			</dd>
		</dl>
		<dl>
			<dt>奖励荣誉值：</dt>
			<dd>
				<input  type="text" id="honorValue" name="honorValue"/>
			</dd>
		</dl>
		<dl>
			<dt>每日上限次数：</dt>
			<dd>
				<input  type="text" id="limitDayTimes" name="limitDayTimes"/>
			</dd>
		</dl>
		<dl>
			<dt>上限数量：</dt>
			<dd>
				<input  type="text" id="limitQuantity" name="limitQuantity"/>
			</dd>
		</dl>
		<dl>
			<dt>类型：</dt>
			<dd>
				<select name="taskType" id="taskType">
					<option value="1">新手任务</option>
					<option value="2">连续任务</option>
				</select>
			</dd>
		</dl>
		<dl>
			<dt>计算类型：</dt>
			<dd>
				<select name="calculationType" id="calculationType">
					<option value="1">按整数计算</option>
					<option value="2">按比例计算</option>
				</select>
			</dd>
		</dl>
		<dl>
			<dt>分组类型：</dt>
			<dd>
				<select name="groupType" id="groupType">
				<c:forEach items="${groupTypeList}" var="item">
					<option value="${item.code}">${item.desc}</option>
				</c:forEach>
				</select>
			</dd>
		</dl>
		<p class="page_btn" id="showBtn"><input type="button" id="doSave" value="保存" class="btn_blue" onclick="admin.hiRule.add()"/></p>
	</div>
</form>
</body>
</html>
